package cn.datawin.bms.customer.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 下游客户上游供应商通道绑定
 *
 * @author datawin-sms
 * @date 2025-09-06 15:30:45
 */
@Data
@TableName("cstm_customer_provider_channel")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "下游客户上游供应商通道绑定")
public class CstmCustomerProviderChannelEntity extends Model<CstmCustomerProviderChannelEntity> {


	/**
	* 客户ID
	*/
    @TableId(type = IdType.AUTO)
    @Schema(description="客户ID")
    private Long id;

	/**
	* 客户id
	*/
    @Schema(description="客户id")
    private Long customerId;

	/**
	* 供应商通道id
	*/
    @Schema(description="供应商通道id")
    private Long providerChannelId;

	/**
	* 状态(1:启用,0:停用)
	*/
    @Schema(description="状态(1:启用,0:停用)")
    private Integer status;

	/**
	* 权重
	*/
    @Schema(description="权重")
    private Integer weight;

	/**
	* 删除标志（0代表存在 1代表删除）
	*/
    @TableLogic
		@TableField(fill = FieldFill.INSERT)
    @Schema(description="删除标志（0代表存在 1代表删除）")
    private String delFlag;
}
